package com.chen.common.scheduler.inter;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.chen.common.scheduler.entity.JobTask;
import com.chen.common.scheduler.mapper.JobTaskMapper;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: Long
 * @date: 2023/11/12 14:40
 **/
public class DefaultJobTaskConfigs implements JobTaskConfigInter {

    @Resource
    private JobTaskMapper jobTaskMapper;

    @Override
    public List<JobTask> getAll() {
        return jobTaskMapper.selectList(Wrappers.lambdaQuery());
    }
}
